<script setup>
// 登录页面
</script>

<template>
  <div class="login-container">
    <el-card class="login-card">
      <h2>Trave旅行日记</h2>
      <el-form>
        <el-form-item>
          <el-input placeholder="用户名" prefix-icon="User"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input
            type="password"
            placeholder="密码"
            prefix-icon="Lock"
          ></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="primary" style="width: 100%">登录</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<style scoped>
.login-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f7fa;
}

.login-card {
  width: 400px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  color: #409eff;
}
</style>
